html,
body {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
}

img.bg {
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto!important;
    height: 100%;
    position: fixed;
    left: 0;
    z-index: 1;
}

.slider {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 9999;
    bottom: 10px;
}

.slider li {
    display: inline-block;
    width: 170px;
    height: 130px;
    margin-right: 15px;
}

.slider a {
    display: inline-block;
    width: 170px;
    padding-top: 70px;
    padding-bottom: 20px;
    position: relative;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.8), -2px -2px 1px rgba(0, 0, 0, 0.3), -3px -3px 1px rgba(0, 0, 0, 0.3);
}

.slider li:nth-of-type(1) a {
    background: #02646e;
}

.slider li:nth-of-type(2) a {
    background: #eb0837;
}

.slider li:nth-of-type(3) a {
    background: #67b374;
}

.slider li:nth-of-type(4) a {
    background: #e6674a;
}

.slider li:nth-of-type(5) a {
    background: #e61061;
}

.slider a::after {
    content: "";
    display: block;
    height: 120px;
    width: 120px;
    border: 5px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    z-index: 9999;
    top: -80px;
}

.slider a::before {
    content: "";
    display: block;
    height: 120px;
    width: 120px;
    border: 5px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    z-index: 99999;
    top: -80px;
    background: rgba(0, 0, 0, 0.3);
}

.slider li:nth-of-type(1) a::after {
    background: url(../imgs/1.jpg) no-repeat center;
	background-size: auto 100%;
}

.slider li:nth-of-type(2) a::after {
    background: url(../imgs/2.jpg) no-repeat center;
	background-size: auto 100%;
}

.slider li:nth-of-type(3) a::after {
    background: url(../imgs/3.jpg) no-repeat center;
	background-size: auto 100%;
}

.slider li:nth-of-type(4) a::after {
    background: url(../imgs/4.jpg) no-repeat center;
	background-size: auto 100%;
}

.slider li:nth-of-type(5) a::after {
    background: url(../imgs/5.jpg) no-repeat center;
	background-size: auto 100%;
}

.slider a:hover::after {
    opacity: 0;
}

.slideLeft:target {
    animation-name: slideLeft;
    animation-duration: 1s;
    animation-iteration-count: 1;
    z-index: 100;
}

.slideBottom:target {
    z-index: 100;
    animation-name: slideBottom;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.zoomIn:target {
    z-index: 100;
    animation-name: zoomIn;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.zoomOut:target {
    z-index: 100;
    animation-name: zoomOut;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.rotate:target {
    z-index: 100;
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.bg:not(:target) {
    animation-name: notTarget;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes slideLeft {
    0% {
        left: -500px;
    }
    100% {
        left: 0;
    }
}

@keyframes slideBottom {
    0% {
        top: 350px;
    }
    100% {
        top: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.1);
    }
    100% {
        transform: none;
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(2);
    }
    100% {
        transform: none;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-360deg) scale(0.1);
    }
    100% {
        transform: none;
    }
}

@keyframes notTarget {
    0% {
        z-index: 75;
    }
    100% {
        z-index: 75;
    }
}
